import { PageQuery, PageResult } from '../common';

// 疾病DTO
export interface DiseaseDTO {
  id?: number;
  name: string;
  categoryId: number;
  categoryName?: string;
  symptoms?: string;
  causes?: string;
  treatment?: string;
  prevention?: string;
  images?: string;
  status?: number;
}

// 疾病查询参数
export interface DiseaseQueryDTO extends PageQuery {
  name?: string;
  categoryId?: number;
  symptom?: string;
  cause?: string;
  status?: number;
}

// 疾病分页结果
export type DiseasePageResult = PageResult<DiseaseDTO>; 